package com.workflow.sdk.infra.repository.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 流程信息表
 * </p>
 *
 * @author cyj
 * @since 2022-06-01
 */
@TableName("t_workflow_info")
@Data
public class WorkflowInfoPo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "workflow_id")
        private Long workflowId;/**
     * 流程名称
     */
    private String workflowName;
    /**
     * 流程编码
     */
    private String workflowCode;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date modifyTime;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 修改人
     */
    private String modifyBy;
    /**
     * 流程信息详情[
     * {
     * "nodeType": "(类型)start,end,choose, common",
     * "node": "节点",
     * "nodeName": "节点名称",
     * "parentNode": "父节点",
     * "childrenNode": "子节点"
     * }
     * ]
     *
     * 示例：
     * @see com.auth.TestWorkflow
     */
    private String workflowInfo;
}
